package com.pi.reservaCita2.server;

public class Conf
{
	public String rutalogica;
	public String rutafisica;
	public String dominio;
	public String ip;
	public String servidordatos;
	public String servidorusuario;
	public String servidorbase;
	public String servidorclave;
	public String driver;


private Conf()
  {
	  this.driver = "org.postgresql.Driver";
	  this.rutalogica ="http:xxxxxxxx";
	  this.rutafisica= "/xxxxxxx";
	  this.dominio="127.0.0.1";// modificable para el servidor 
	  this.ip="xx.xx.xx.xx";
	  this.servidordatos="postgres";
	  this.servidorusuario="postgres";
	  this.servidorbase="ReservaCitas"; //nombre de la base de datos 
	  this.servidorclave="cluster3";//clave del servidor
	  
	  
  }

  private static Conf instance;
  public static synchronized Conf  getInstance()
  {
	   if(instance==null)
	   {
		instance=new Conf();   
	   }
	   return instance;
	  
  }
  public Object clone() throws CloneNotSupportedException {
		throw new CloneNotSupportedException();
	}

}
